home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Light ROM 1
/
LIGHT-ROM 1 (Amiga Library Services)(1994).iso
/
ffdisks
/
d935.lha
/
ClipWindow
/
ClipWindow.doc
< prev
next >
Wrap
Text File
|
1993-12-20
|
4KB
|
81 lines
ClipWindow
This program will help you manage the Amiga clipboard. It's
purpose is to easily put common text contained in disk files
or icons onto the clipboard for pasting later. ClipWindow was
created to fill a specific need: to automate the creation of
invoices using the BEST business accounting software. It will
also be useful for many other tasks. For example, inserting
"boilerplate" paragraphs into wordprocessor documents, and
programmers will find it useful for inserting common functions
or includes into their current project. ClipWindow needs Amiga
Dos 2.0 or higher. Source code is included, but to compile you
will need CBIO.C and CB.H from the Amiga ROM Kernel Reference
Manual - Devices, Third Edition section on the clipboard device.
Both of these files can be found on Fred Fisk disk 741 in the
RKRM_Devices archive.
Activating the ClipWindow icon opens an AppWindow on the
Workbench. This may be resized and closed just as any other
window. Text is fed to the program in one of two ways via
Project icons dropped on the AppWindow. Simplest, is to put
the text you need clipboarded in the tooltype area of the
Project icon itself. If you have a small amount of text, this
works well. The second method is to use an editor to create
text in a disk file, then create a Project icon with the same
name. ClipWindow will look for a disk file first, if none is
found it will try to use text from Tool Types. Up to 8
kilobytes of text can be handled.
ClipWindow blanks out the clipboard when it is started. If you
want to reset the clipboard later, you can drop a special Project
icon that has the word RESET as the default tool into the window.
There are several example Project icons included in this
distribution. To try out ClipWindow, first open a Shell on the
Workbench, then activate the ClipWindow icon. You will be
presented with an AppWindow. Click once on the icon named
"ToolTypes", then use the Workbench Icons - Information menu
selection to examine the Tool Types contained within. Next use
your mouse to drag the icon into the AppWindow and observe
ClipWindow echoing the text it finds. Now click once in the
Shell window you opened previously and paste the clipboard
contents by typing right Amiga-V. You should see text from the
icon flow at the cursor position.
Next drag the "RESET" icon into the AppWindow. The clipboard will
be flushed of all contents. Try the paste operation again to verify.
The icon labeled "TextFile" has an associated file containing simple
dialog. Drop this icon into the AppWindow and observe ClipWindow
echoing the text. This time the file name is displayed in reverse,
which indicates that data is coming from a file, not from the icon's
Tool Types. Activate your Shell window and do the right Amiga-V
paste again to see the results.
ClipWindow stacks text. If you pull multiple text icons into the
AppWindow, all text will be pushed in order onto the clipboard. You
can also do a multiple select and drop several Project icons in the
window at once.
Carolyn Scheppner has graciously granted permission to include her
ConPaste Commodity in this distribution Activate ConPaste by
clicking on it's icon, or by moving it into the WBStartup drawer on
your Workbench and rebooting. Carolyn's program pastes the clipboard
contents in a very different way than Workbench. She turns the
data into input events. What this means to you is, you can paste
in a LOT more places. The BEST business software for instance, opens
it's own custom screen which would not normally be accessible to the
Workbench paste routine. ConPaste however, pastes perfectly. Type
right Amiga - I to activate a ConPaste insert (this is configurable,
read Carolyn's doc file). Thank you Carolyn for a program which
makes the Amiga clipboard 1000 times more useful.
ClipWindow is FreeWare. If you find it useful, drop me a line
saying what you did with it.
Jim Harvey jh25s56@sycom.mi.org
18538 Inkster
Redford, Mich.
48240